unmodifiable

fun <T> Array<out T>?.unmodifiable(): List<T>