set and unset compare param in url
more compare options
improve cloneObject function