// public methods public override object Clone() { IntPtr clonePtr; Status status = GDIPlus.GdipCloneBrush(nativeObject, out clonePtr); GDIPlus.CheckStatus(status); return(new TextureBrush(clonePtr)); }