It's a way of cloning an object, so that we get a complete copy that is unique but has the same properties as the cloned object.
var defaultParams = { a : 'b' };
var params = JSON.parse(JSON.stringify(defaultParams));
console.log( params.a ); // b
console.log( defaultParams.a ); // b
console.log( params === defaultParams ); // false