The [Repeat] function returns a new slice that repeats the provided slice the given number of times.