RobinHerbots/jquery.inputmask — pull request #713 by minhnguyenerp (2014-11-03 19:32:16+00:00)
Title: Fixed: On google chrome, cannot use jquery to clone the inputmask control with data and events

Lets say if we already had an inputmask control. Then, at the run-time, using jquery to clone the control like this:

// Clone with data and events
var $clone = $("#inputmask").clone(true);
// Clear the old value
$clone.val("");
// Append the cloned control
$("#div").append($clone);

Firefox is fined, but Chrome (Version 38.0.2125.111 m - the latest version) will throw an error and the control cannot be copied. See the attached images for more details. Thankyou!

![h1](https://cloud.githubusercontent.com/assets/9220521/4888697/69fffe5a-638f-11e4-96f1-37ff506b5c3b.png)
![h2](https://cloud.githubusercontent.com/assets/9220521/4888703/6f8092b8-638f-11e4-9ec1-45bc262a79f9.png)