copyAndMutate

fun copyAndMutate(index: Int, newValue: Any?): KStateContainer