Adding a flag to allow drop duplicates while creating objects during bulk upsert