trim_it function

Trim a data frame or an S3 object