public override IGraphCloneable Clone(CloneContext cloneContext) { DxfLayout dxfLayout = (DxfLayout)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfLayout == null) { dxfLayout = new DxfLayout(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfLayout); dxfLayout.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfLayout); }