Backbone.js model.clone()

The Backbone.js clone model is used to create deep copy of a model or to copy one model object to another object.

Syntax:

Let's take an example.

See this example:

Test it Now

Output:

Save the above code in clone.html file and open this file in a new browser.

BackboneJS clone Model