cloneObj.locators = new Vector();
cloneObj.locatorList = new Vector();
   public Object clone() throws CloneNotSupportedException {    Array cloneObj = (Array) super.clone();    //deep clone for DataCube    cloneObj.setDataCube((DataCube) this.getDataCube().clone());    //there are no locators that are related to the cloned Array object    cloneObj.locators = new Vector();    //set the parentArray correctly for child object    cloneObj.getDataCube().setParentArray(cloneObj);    cloneObj.getXMLDataIOStyle().setParentArray(cloneObj);    synchronized (this.paramGroupOwnedHash) {      synchronized(cloneObj.paramGroupOwnedHash) {        cloneObj.paramGroupOwnedHash = Collections.synchronizedSet(new HashSet(this.paramGroupOwnedHash.size()));        Iterator iter = this.paramGroupOwnedHash.iterator();        while (iter.hasNext()) {          cloneObj.paramGroupOwnedHash.add(((Group) iter.next()).clone());        }      }    }    return cloneObj;   }  //end of clone