docs: public void copyTo(Gradient g) {
  		g.numKnots = numKnots;
  		g.map = (int[])map.clone();
  		g.xKnots = (int[])xKnots.clone();
  		g.yKnots = (int[])yKnots.clone();
  		g.knotTypes = (byte[])knotTypes.clone();
  	}