util.array: Improve array:reverse() and make it work as both method and non-mutating...