I don't know of a tweak that does it but I know how to restore it manually
After you get your layout all good, browse to /var/mobile/Library/Springboard
Backup the IconSupportState.plist and when you want the layout back, put the IconSupportState.plist back in that folder directory and respring
If there's a DesiredIconSupportState.plist, delete it. It'll prevent you from restoring to IconSupportState.plist. For whatever reason, if you have that file, it overrides your IconSupportState.plist
Of course, you would need gridlock installed already to be able to restore your layout using this method or you'll mess it up somehow.
For example, with folder enhancer, you would probably end up with missing icons if you respringed without the tweak installed. If that happened, all you would have to do is delete IconSupportState.plist and respring or go to settings and reset the layout