Is there a way to do TSubObjectOf?

I didn’t heard of such thing, there is TSubclassOf where you can select from dropdown all classses derived from specified class.