All but the first two operations should be short-circuited and implemented specially by the backend.
Create an array of a reference type T.
Creates an array of some element type determined by the given ClassTag argument. The erased type of applications of this method is Object.
ClassTag
Object
Convert a sequence to a Java array with element type given by clazz.
clazz