eloquent: prevent duplicate rows

To prevent duplicate database entries there is a built-in method in Eloquent.