title: VueJs How to duplicate object from v-repeat?
body: <p>Functionality allows you to add/delete description, title and time for the event.</p>
  
  <p>I can not deal with the duplication(cloning) of the object which is created through v-model = (event.name, event.description and event.date)</p>
  
  <p>All works fine with the removing selected object, it works like this:</p>
  
  <pre><code>deleteEvent: function(index){
    if(confirm('Are you sure?')) {
      this.events.$remove(index);
    }
  }
  </code></pre>
  
  <p>Here's an example of my code for a application to adding and changing events. </p>
  
  <pre><code> var vm = new Vue({
    el: '#events',
  
    data:{
      event: { name:'', description:'', date:'' },
      events: []
    },
  
    ready: function(){
       this.fetchEvents();
    },
  
    methods: {
       fetchEvents: function() {
        var events = [
          {
            id: 1,
            name: 'TIFF',
            description: 'Toronto International Film Festival',
            date: '2015-09-10'
          },
          {
            id: 2,
            name: 'The Martian Premiere',
            description: 'The Martian comes to theatres.',
            date: '2015-10-02'
          },
          {
            id: 3,
            name: 'SXSW',
            description: 'Music, film and interactive festival in Austin, TX.',
            date: '2016-03-11'
          }
        ];
  
        this.$set('events', events);
      },
  
      addEvent: function() {
        if(this.event.name) {
          this.events.push(this.event);
          this.event = { name: '', description: '', date: '' };
        }
      },
  
    deleteEvent($index)"
      deleteEvent: function(index){
        if(confirm('Вы точно хотите удалить данную запись?')) {
          this.events.$%remove(index);
        }
      },
      cloneItem: function(index) {
  
      }
  
    }
  });
  </code></pre>
  
  <p>there full code
  <a href="http://codepen.io/Monocle/pen/ojLYGx" rel="nofollow">http://codepen.io/Monocle/pen/ojLYGx</a></p>