Add an array of named elements. Note that this should only really be used when building a fresh array, as using this during runtime can introduce duplicate values. Asserts in debug builds if duplicate values are present