TST: Added test for Excel writers with duplicated column names.

Test for issue #5235
Merge branch 'tst_excel_duplicated_cols' of https://github.com/jmcnamara/pandas into jmcnamara-tst_excel_duplicated_cols
API: add excel kw to to_clipboard to preserve compat behavior (related GH5070)