Creates a shallow copy of this List.

C# |
public List Dup()

A new List with the same elements


Sofu.Sofu.Map config = SofuReader.LoadFile("Config.Sofu"); Sofu.Sofu.List donetargets = config.list("BuildTargets").Dup(); donetargets.AppendElement("x64"); //Won't change config.list("BuildTargets")