If I had a schema like this:
var person = new Schema({ firstName: String, lastName: String, });
I haven't tried this, but using a unique index should do the trick.
db.person.ensureIndex( { "firstname": 1, "lastname": 1 }, { unique: true } )