@Override public Object clone() throws CloneNotSupportedException {
  SamplingXYLineRenderer clone=(SamplingXYLineRenderer)super.clone();
  if (this.legendLine != null) {
    clone.legendLine=ShapeUtilities.clone(this.legendLine);
  }
  return clone;
}

@ Override public Object clone ( ) throws CloneNotSupportedException { SamplingXYLineRenderer clone = ( SamplingXYLineRenderer ) super . clone ( ) ; if ( this . legendLine != null ) { clone . legendLine = ShapeUtilities . clone ( this . legendLine ) ; } return clone ; }
returns a clone of the renderer .
