/** * Clone method. * * @return Cluster copied object. */ public Cluster clone() { Cluster copy; copy = new Cluster(numAtt, q, k); copy.setAll(content); return copy; } // end-method