Also clone function in the object.