Are you sure that cleans it up? https://github.com/marmelab/gremlins.js/pull/66/files#diff-2315344440e8cc3118fe37afbc84a95dR24 only copies the reference I think