+ /**
+ * Returns a clone of this filter instance.
+ *
+ * @since 4.7.3
+ * @returns {CKEDITOR.filter}
+ */
+ clone: function() {
+ var ret = new CKEDITOR.filter(),
+ clone = CKEDITOR.tools.clone;
+
+ // Cloning allowed content related things.
+ ret.allowedContent = clone( this.allowedContent );
+ ret._.allowedRules = clone( this._.allowedRules );
+
+ // Disallowed content rules.
+ ret.disallowedContent = clone( this.disallowedContent );
+ ret._.disallowedRules = clone( this._.disallowedRules );
+
+ ret._.transformations = clone( this._.transformations );
+
+ ret.disabled = this.disabled;
+ ret.editor = this.editor;
+
+ return ret;
+ },
+