/** * Returns a clone of the instance. * * @return A clone. * @throws CloneNotSupportedException if there is a problem cloning the instance. */ @Override public Object clone() throws CloneNotSupportedException { LookupPaintScale clone = (LookupPaintScale) super.clone(); clone.lookupTable = new java.util.ArrayList(this.lookupTable); return clone; }