Generate permutations from an input range. * Create a duplicate of this sequence * so that the original sequence is not modified.
See Implementation
Generate permutations from an input range. * Create a duplicate of this sequence * so that the original sequence is not modified.