Fairly straight forward question but Googling hasn't turned up anything as yet.
How do I copy/clone/duplicate an instance of an object in Coffeescript? I could always just create a clone()
method which returns a new instance with copied values, but that seems like an error-prone way to go about it.
Does CoffeeScript offer a simpler solution?