Generates a sequence that contains each value in the provided sequence and repeats.
The sequence to repeat.
The number of times to repeat the sequence.
Generates a sequence that contains each value in the provided sequence and repeats.