public TGColor clone(TGFactory factory) { TGColor tgColor = factory.newColor(); tgColor.copyFrom(this); return tgColor; }