fix deep_clone bug

fix deep_clone bug: if obj is a function, not need to clone, it is ok to return it not to clone it .