src/main/java/org/nustaq/offheap/structs/FSTStructAllocator.java
public <X extends FSTStruct> StructArray<X> newArray(int size, X templ) {
        return newArray(size,templ,alloc);
    }
public <X extends FSTStruct> StructArray<X> newArray(int size, X templ) {
        return newArray(size,templ,alloc);
    }
create a new struct array of same type as template
@param size
@return