I think you're thinking of the Builder pattern. That's a bit different, because you return the same type and same object on every chained call.
¹ Edit to add: well, it's a pattern I've seen a lot, anyway. I think it's preferable to mutating the final object in place because it "makes illegal states unrepresentable" as others in this discussion have mentioned.