Combining `restore` and `restorer` methods into one
Remove useless no-op piece of code
Fixing argument name
Speed things up by using a cached div for when copying nodes