Add Array.flatten