The code to iterate of the arrays of arrays stays the same, you jus t need to write an expression that instead of a simple setUnion returns an array with any duplicate elements removed. That shouldn’t be too difficult - Not sure if I’ll have an opportunity to try it though as traveling for a while.