The parameter is not marked as `transfer full` and stays around in the hash table, so we will have to copy it ourselves. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3364>