add clone() method for prototype