Pick all elements that matches a true in the array mask.
[1,2,3].pick([true,false,true])
[1, 3]
parts
pieces