cloning feature for Url class