fun <T, reifiedU:T>Gen<T>.filterIsInstance(): Gen<U> Deprecated: Deprecated and will be removed in 5.0. Migrate to the new property test classes in 4.0
Create a new Gen by keeping only instances of U generated by this gen.
This is useful if you have a type hierarchy and only want to retain
a particular subtype.