How to destroy Croppie jQuery existing instance?
<p>I've using <a href="https://foliotek.github.io/Croppie/" rel="noreferrer">Croppie jQuery</a> Library for crop a image but facing a problem when it will create multiple instances.</p>

<p>I've found no documentation about destroy instance.</p>

<pre><code>function initCrop() {
    var $uploadCrop;
    $('#image_crop').destroy();
    $uploadCrop = $('#image_crop').croppie({
        viewport: {
            width: WIDTH,
            height: HEIGHT,
            type: 'square'
        },
        boundary: {
            width: 798,
            height: 480
        },
        exif: true
    });
}
</code></pre>