With Cloning

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public record Example
	{
		public string A { get; set; }
	}
	
	public static void Main()
	{
		var foo = new Example {A = "Hello World"};
		var bar = foo with {};
		foo.A = "Goodbye World :(";
		Console.WriteLine(bar.A);
	}
}
;