Creates an iterator that cycles through the input iterator's values a certain number of times.
Optional
The number of times to cycle through the input iterator's values (default: Infinity).
Creates an iterator that cycles through the input iterator's values a certain number of times.