Since 2.24
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
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.
Since 2.24