Like `as_tibble` does via `dplyr:::as_tibble.grouped_df`, unless `tsibble` is loaded and `tsibble:::as_tibble.grouped_df` interferes.