Use unique_ptr to manage ownership of GCStrategy objects in GCMetadata