Deep copy functions when cloning objects.
Fixes CC#2050
No need to save the block in COPY_DEEP_VALUES since the function does not call Recycle