Revert to old values for form

Is there a method for the form component to revert to its old value? I want to quit all the changes when click the ‘Cancel’ button. thx and looking forward to your reply.

http://docs.webix.com/api__link__ui.form_getcleanvalues.html

big thanks! I used the following code chunk and it works fine!

var original = $$(“form”).getCleanValues();
//console.log(“original: %o”, original);
$$(“form”).setValues(original);