API: add excel kw to to_clipboard to preserve compat behavior (related GH5070)

related #5070