Creates a cookie copy with a new time the cookie expires.
public function withExpires(int|string|\DateTimeInterface $expire = 0) : static { $cookie = clone $this; $cookie->expire = self::expiresTimestamp($expire); return $cookie; }