No. Well, not really, you can eval a block and use a storable module before and after to restore a chunk of them, but there is no real way to serialize and snapshot the vars globally. What are you trying to do? there may be a way to accomplish it in a differently.