title: How to copy json object without reference in vue?
body: <p>In my component i have declarated some data like this:</p>
  <pre><code>data() {
      return {
          defaultValue: {json object with some structure},
          activeValue: {}
          ...
  </code></pre>
  <p>And in component methods a make copy this value:</p>
  <pre><code>this.activeValue = this.defaultValue
  </code></pre>
  <p>But problem is, after change <code>this.activeValue</code> value a have changes in <code>this.defaultValue</code> too.</p>
  <p>If i use <code>Object.freeze(this.defaultValue)</code> and trying  change <code>this.activeValue</code> i have get error - object is not writable.</p>
  <p>How i can make copy of data but without reference?</p>