change method cloneColor() to clone()