added copy_most_attributes instead of discarding the names attribute in summarise (more generic)