If inheritance of parameters is desired, it should be possible to use `sv_isobject(sv) && sv_derived_from(sv, class)` to check parameters in perlglue. It was not used before, so I implemented is with (probably faster) `sv_isa()` This would also handle ::ref without explicit check.