Added method StringArray::ensureStorageAllocated()