Duplicates groups of sequential items in a list.
For example, if
Copies is 2 and
Items per Group is 3, input list
A, B, C, D, E, F would output
A, B, C, A, B, C, D, E, F, D, E, F.
Keywords: clone, copy, cycle, double, duplicate, expand, fill, replicate, stretch, stride