rP15421 introduced a clone function in globalscripts/ which, besides not being able to handle a variety of types, does the same as the deepcopy function in ScriptInterface.cpp.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
IIRC, FeXoR and fatherbushido had been confused just like me which one to use. Since there is no relevant difference, we can nuke the copy.
Since the verb clone is widely used in the code, I'd vote to keep that name.
Notice we can't rename the original deepcopy function to clone because that name is reserved:
http://man7.org/linux/man-pages/man2/clone.2.html