public function withoutAttribute($attribute) { if (!isset($this->attributes[$attribute])) { return clone $this; } $new = clone $this; unset($new->attributes[$attribute]); return $new; }