Kotlin - creating a mutable list with repeating elements : <p>What would be an idiomatic way to create a mutable list of a given length <code>n</code> with repeating elements of value <code>v</code> (e.g <code>listOf(4,4,4,4,4)</code>) as an expression.</p>

<p>I'm doing <code>val list = listOf((0..n-1)).flatten().map{v}</code> but it can only create an immutable list.</p>
