Creates a shallow copy of itself.

C# |
public Map Dup()

A new Map with the same contents as this one


Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); Sofu.Sofu.Map backup = file.Dup(); file.RemAttribute("Text"); file.SetAttribute("Somestring",new Sofu.Sofu.Value("foo")); file.Write("file.sofu"); backup.Write(Console.Out);