Grouping sub-arrays with nonidentical items
Cascaded ternaries, generic variable names, obfuscated logic produces write-only and mind-boggling code that requires deciphering for anyone, including you in the future.

Let's try to write a self-explanatory code:

function groupUnique(input) {
    let results = [];
    for (let inputRow of input) {
        let collectedCells = new Set(inputRow);
        let draft = [inputRow].concat(
            input.filter(row =&gt; {
                if (row.some(cell =&gt; collectedCells.has(cell)))
                    return false;
                for (let cell of row)
                    collectedCells.add(cell);
                return true;
            })
        );
        let alreadyAdded = results.some(res =&gt;
            res.length == draft.length &amp;&amp; res.every(row =&gt; draft.includes(row))
        );
        if (!alreadyAdded)
            results.push(draft);
    }
    return results;
}