MAINT: ufunc tuple -> set