Repeat a value some number of times.