VariantType.copy

Makes a copy of a #GVariantType. It is appropriate to call [glib.variant_type.VariantType.free] on the return value. type may not be null.

Returns

a new #GVariantType

Since 2.24