<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

JsonCloneSettings

public class JsonCloneSettings
Specifies the settings used when cloning JSON.
using System.Runtime.CompilerServices; namespace Newtonsoft.Json.Linq { public class JsonCloneSettings { [System.Runtime.CompilerServices.Nullable(1)] internal static readonly JsonCloneSettings SkipCopyAnnotations = new JsonCloneSettings { CopyAnnotations = false }; public bool CopyAnnotations { get; set; } public JsonCloneSettings() { CopyAnnotations = true; } } }