Added RefType to distinguish refs arrays from normal arrays during PooledDataArray construction