Combine inherited and added properties for Product Variations

Hello, I’m creating a variation
$this->productRepository->upsert([
$variant
], Context:: createDefaultContext ());
In $variant I set one property and it overwrites all inherited properties from the parent product which I need as well. Is it possible to add a new property to the variation and leave inherited properties at the same time?
Or show both on the storefront