Class KVObjectDeepClone
Namespace: ValveResourceFormat.Serialization.KeyValues
Assembly: ValveResourceFormat.dll
Deep-clones trees so they can be mutated without affecting the source.
csharp
public static class KVObjectDeepCloneInheritance
Methods
Clone(KVObject)
Returns a fully independent copy of the given value, including nested objects, arrays and terminal values. Cloned objects are list-backed so member order survives later edits.
csharp
public static KVObject Clone(KVObject value)Parameters
value KVObject
Returns
KVObject

