/Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h
Check all pairs of types in a template parameter pack to determine if any type is duplicated
template<typename T, typename U, typename... Rest> struct TTypePackContainsDuplicates< T, U, Rest... >