title: Split objects in array, based on the property
body: <p>I want to duplicate entire objects inside an array, based on the properties inside the object. I need to duplicate the objects, based on the split emails, in nominations.</p>
  <p>For example</p>
  <pre><code>array = [
  {
    id:1,
    name: ravi,
    nominations: xyz@gmail.com, abc@gmail.com
  },
  {
     id:2
     name: ramu,
     nominations: 123@gmail.com, 456@gmail.com
  }
  ]
  </code></pre>
  <p>Need Output like</p>
  <pre><code>Output_array = [
  {
    id:1,
    name: ravi,
    nominations: xyz@gmail.com
  },
  {
    id:1,
    name: ravi,
    nominations: abc@gmail.com
  },
  {
     id:2
     name: ramu,
     nominations: 123@gmail.com
  },
  {
     id:2
     name: ramu,
     nominations: 456@gmail.com
  }
  ]
  </code></pre>