Added vector-like constructor to array adapter