internal DrawingSettings Clone()
{
DrawingSettings clone = new DrawingSettings();
clone.BorderColor = MagickColor.Clone(BorderColor);
clone.FillColor = MagickColor.Clone(FillColor);
clone.FillRule = FillRule;
clone.Font = Font;
clone.FontFamily = FontFamily;
clone.FontPointsize = FontPointsize;
clone.FontStyle = FontStyle;
clone.FontWeight = FontWeight;
clone.StrokeAntiAlias = StrokeAntiAlias;
clone.StrokeColor = MagickColor.Clone(StrokeColor);
clone.StrokeDashOffset = StrokeDashOffset;
clone.StrokeLineCap = StrokeLineCap;
clone.StrokeLineJoin = StrokeLineJoin;
clone.StrokeMiterLimit = StrokeMiterLimit;
clone.StrokeWidth = StrokeWidth;
clone.TextAntiAlias = TextAntiAlias;
clone.TextDirection = TextDirection;
clone.TextEncoding = TextEncoding;
clone.TextGravity = TextGravity;
clone.TextInterlineSpacing = TextInterlineSpacing;
clone.TextInterwordSpacing = TextInterwordSpacing;
clone.TextKerning = TextKerning;
clone.TextUnderColor = MagickColor.Clone(TextUnderColor);
clone.Affine = Affine;
clone.FillPattern = MagickImage.Clone(FillPattern);
clone._StrokeDashArray = _StrokeDashArray != null ? (double[])_StrokeDashArray.Clone() : null;
clone.StrokePattern = MagickImage.Clone(StrokePattern);
clone.Text = Text;
return clone;
}