Implement clone.