Hi.
I don't think there is something 'out of the box' for this.
But you can get the current state and there is also an action to set to a certain state on the
EcosystemI believe its call 'Go To State By Name'
Then if you need to all the variables, you will probably need save and load them as well (before going to that state)
Also you start states should be empty and have a transition triggered after everything is loaded.
it can become pretty complex.
maybe give some more info on your game, as maybe you need to save/load only certain parts.
then maybe you could use arrays or hash tables.