added clone feature