copyComponent(component) {
    if (!window.sessionStorage) {
      return console.warn(this.t('sessionStorageSupportError'));
    }
    this.addClass(this.refs.form, 'builder-paste-mode');
    window.sessionStorage.setItem('formio.clipboard', JSON.stringify(component.schema));
  }
Creates copy of component schema and stores it under sessionStorage.
@param {Component} component - The component to copy.
@returns {void}