Clones non native JavaScript functions, or references native functions.