// Spread Method let clone = { ...userDetails } // Object.assign() Method let clone = Object.assign({}, userDetails) // JSON.parse() Method let clone = JSON.parse(JSON.stringify(userDetails))