When `allRowsSelected` is true, clipboard copy returns undefined since `getLastSelectionType` is not returning as 'row'
When
allRowsSelectedis true, clipboard copy returns undefined sincegetLastSelectionTypeis not returning as 'row'