Releases a reference on the given array.
If the reference count reaches zero, the array is destroyed and all its allocated resources are freed.
the array to unreference