Deep clone state when generating / loading snapshot