Are you looking for full value-type semantics equality comparison or do you mean just type-equality comparison?
If looking for value-type semantics, I think I do recall seeing a macro that forces default equality operators to not be auto-generated for UCLASS types, but I’m not 100% sure and it would create a fair bit of extra work. What you could do is implement an interface that provides a common basis for equality comparison suited to your needs.
If you’re looking for type-comparison you could implement some sort of integral value that works as a key/id making identification simple, although this may not be practical for your needs. Off the top of my head, you could even loop through GetOutter() on each instance, comparing each iteration for equality.
Normally I would suggest hash value comparison for either scenario when stumped but in unreal, object hashes aren’t quite unique enough for hashes to be reliable.