Check for matching ownership of type-arguments
This will result in stricter checking of generic type arguments and will trigger a compile error.
The follow example will throw an error while list.copy()
returns GLib.List<weak string>
GLib.List<string> list = null;
GLib.List<string> list_copy = list.copy ();