Garbage collection on UObject

What? Why are you doing that? You don’t need to do that at all.
TArray<UCell*> Array; works just fine.