Generates all combinations for an array