Default [Q] Save & Restore RAM image/dump of an app

Do you know a possibility (/app/xposed module...) to save an exact memory (aka the RAM) dump to a file and to restore it later on? To load the exact same state of an app into your memory?