Make the MemoryPersister key off a State field instead of the object - this will prevent memory and make the MemoryPersister consistent with the approaches to the other persister