/// <summary> /// Clones this instance. /// </summary> /// <returns></returns> public GribMessage Clone() { var newHandle = GribApiProxy.GribHandleClone(this.Handle); return(new GribMessage(newHandle)); }
/// <summary> /// Creates a shallow copy of this instance. /// </summary> /// <returns></returns> public GribMessage Copy() { var newHandle = GribApiProxy.GribHandleClone(this.Handle); return(new GribMessage(newHandle, GribContext.Default)); }