Preliminary polymorphic array class