in reply to Multiple Permutation handling

I had that same question quite a while ago, some similar and different answers there: Conglomerate of arrays with no duplicates