Cookie::set() sets a new cookie, it doesnt check nor care if a cookie with that same name already exists.
So if you call set() without specifying an expiry, it will use the configured cookie.expiration value in your apps config.php. If not configured, the default is 0 (expire at end of session).
It is equivalent to calling the php function setcookie().