Creates an ArrayRecord from an existing record.
Creates an ArrayRecord from an existing record. The Template of the new record is the same as the source record, and the new record's values are set to the values of the existing record.
Creates an ArrayRecord from a Template and sets all the values
to their defaults (0 for values and null for references).
An ArrayRecord factory.