My first thought is simply Iterators.cycle. From the docs:
An iterator that cycles through
iterforever. Ifnis specified, then it cycles throughiterthat many times. Wheniteris empty, so arecycle(iter)andcycle(iter, n).
Iterators.cycle(iter, n)is the lazy equivalent ofBase.repeat(vector, n), whileIterators.repeated(iter, n)is the lazyBase.fill(item, n).