fn rep_each_then_times<T: Clone>( vals: &[T], each: usize, times: usize, ) -> Vec<T>
Repeat each element each times, then repeat the whole result times times.
each
times