The items to repeat, in order.
OptionalcloneWhen true, the pattern is deep-copied first so the input is never changed. Data with circular references cannot be copied and throws.
OptionallengthThe length of the result; the pattern is cut off there.
A pattern and a length for
lists.repeatInPattern, which repeats the pattern until the list is that long.