internal override object CoreClone()
        {
            IntPtr clonedCap;
            int    status = Gdip.GdipCloneCustomLineCap(new HandleRef(this, nativeCap), out clonedCap);

            Gdip.CheckStatus(status);

            return(new AdjustableArrowCap(clonedCap));
        }
        internal virtual object CoreClone()
        {
            IntPtr clonedCap;
            int    status = Gdip.GdipCloneCustomLineCap(new HandleRef(this, nativeCap), out clonedCap);

            if (status != Gdip.Ok)
            {
                throw Gdip.StatusException(status);
            }

            return(CreateCustomLineCapObject(clonedCap));
        }