Are you suggesting something like:
```scala
case class Cookie /* args */ {
  def equals(other: Any) = other match {
    case o: Cookie => (c.name, c.path, c.domain.map(_.toLowerCase), c.secure, c.httpOnly).equals((name, path, domain.map(_.toLowerCase), secure, httpOnly))
    case _ => false 
  }
}
```

Having two cookies with different values being equal for the only intention of using a set here, looks odd to me. I assume my cookies to be equal only if all part of it are equal to other ones, and I expect it to check primarily the value, not ignore it.