clone state objects to fix old and new being the same