Dynamic record/playback implementation of the cloning mechanics I used in Quantum Pliot [ https://itunes.apple.com/app/id935956154 ], inspired by Kenta Cho's DefeatMe. Use this library to record game events and play them back later, like when making clones that imitate a player.