simplifyColumns

inline fun <T> Array<Array<T>>.simplifyColumns(): Array<Array<T>>