copy

Makes a copy of a #GVariantType. It is appropriate to call g_variant_type_free() on the return value. @type may not be null.

Return

a new #GVariantType

Since 2.24