Change cols to subset in drop_duplicates and duplicated [fix #6680] and to columns in to_csv and to_excel[fix #6645].  Implement using common decorator