Copy uniqueness validations from record to entity.