Clearing an object store consists of removing all records from the object store and removing all records in indexes that reference the object store.
The DataTransferItemList.clear() method removes all DataTransferItem objects from the drag data items list, leaving the list empty.
The clear() method of the DataStore interface deletes all records from the data store, leaving it empty.