title: _.extend vs _.clone in lodash
body: <p>To inherit properties of one object by another while dealing with JavaScript objects, I often see usage of <code>_.clone</code> where the intention was to create an object with another object's properties and then it would be extended.</p>
  
  <p>Why can't we just use <code>_.extend</code> which is more relevant to extend an object?</p>
  
  <p>Please tell me the difference between the two and why we can't <code>_.extend</code> instead of <code>_.clone</code> which is a costly operation.</p>