How do I replicate an inventory?

UObjects dont Replicate. The first thing that has this capability is the AActor. However you could replicate a TArray<TSubclassOf<MyItemObject>>.