Added function clone().