Gets all values associated with a given key, allocated in a new array.
The key to get the values of.
The values associated with the given key, or an empty array if no values exist for the key.
Gets all values associated with a given key, allocated in a new array.