const originalObj = { name: "John", age: 30 }; const clonedObj = _.clone(originalObj); console.log(originalObj === clonedObj); // false console.log(originalObj.name === clonedObj.name); // trueIn this example, we create an original object with properties name and age. We then use the _.clone() method to create a new object that is a shallow clone of the original object. We check to see if the two objects are the same in memory (which they are not) and also verify that their properties are identical. Package Library: The _.clone() method is part of the popular Underscore.js library which provides a variety of utility methods in JavaScript. This library is widely used by developers and is available as a standalone package or can be included as a part of a larger ecosystem such as lodash or requirejs.