public Object clone() { Gradient g = (Gradient)super.clone(); g.map = (int[])map.clone(); g.xKnots = (int[])xKnots.clone(); g.yKnots = (int[])yKnots.clone(); g.knotTypes = (byte[])knotTypes.clone(); return g; }
@Override public Object clone() { Gradient g = (Gradient) super.clone(); g.map = map.clone(); g.xKnots = xKnots.clone(); g.yKnots = yKnots.clone(); g.knotTypes = knotTypes.clone(); return g; }