/// <summary> /// Creates a clone of the spectral polygon instance. /// </summary> /// <returns>The deep copy of the spectral polygon instance.</returns> public Object Clone() { return(new SpectralPolygon(_factory, _polygon.Shell, _polygon.Holes, Raster.Clone() as IRaster, Presentation, Imaging, _polygon.Metadata)); }