prepare Event Default
If we use multi window features of a browser, we need to create window.*Event instances, to work with them in the code of the main window (where the application is running).
This function isn't part of the class itself and may be altered with another implementations, because the way of cloning may be imprecise for purposes of particular application.