(Kotlin-specific) Returns a new Dataset by first applying a function to all elements of this Dataset, and then flattening the results.