Fixed clone method issue.