Hello Defoldians, I wrote a Lua module that might be useful to someone else. It essentially implements the rewind mechanic you can find in games like Braid. Have a look, it is under MIT license so do whatever you want with it
In the examples folder you will find a Defold project to try. Left and Right arrows to move, Z to jump and LShift to rewind the time.