Make to set copied functions in the same object

Please refer https://github.com/sasaplus1/deepcopy.js/issues/2