Clone() public method

Clones the IrregularSurface.
public Clone ( ) : object
return object
 public ClippedSurfaceHistoryItem(string icon, string text, IrregularSurface oldSurface, int layerIndex) : base(icon, text)
 {
     old_surface = (IrregularSurface)oldSurface.Clone();
     layer_index = layerIndex;
 }
 public ClippedSurfaceHistoryItem(string icon, string text, IrregularSurface oldSurface, int layerIndex)
     : base(icon, text)
 {
     old_surface = (IrregularSurface)oldSurface.Clone();
     layer_index = layerIndex;
 }