Bucket deletion deletes all elements from the array