@Override public Object clone() throws CloneNotSupportedException {
  XYAreaRenderer clone=(XYAreaRenderer)super.clone();
  clone.legendArea=ShapeUtilities.clone(this.legendArea);
  return clone;
}

@ Override public Object clone ( ) throws CloneNotSupportedException { XYAreaRenderer clone = ( XYAreaRenderer ) super . clone ( ) ; clone . legendArea = ShapeUtilities . clone ( this . legendArea ) ; return clone ; }
returns a clone of the renderer .
