added support for bulk freeing of structs (Struct.free(T[])