clonefunction clonefunction(fn: function): function An independent copy of a function, sharing nothing with the original.