Attribute.copy

Make a copy of an attribute.

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy].