**Problem Statement:**
Given an integer array `nums`, return all the triplets `[nums[i], nums[j], nums[k]]` such that `i != j`, `i != k`, and `j != k`, and `nums[i] + nums[j] + nums[k] == 0`. Notice that the solution set must not contain duplicate triplets.
**Hint / Expected Approach:**
Sort + two-pointer, skip duplicates
**Edge Cases to Consider:**
- (1) No valid triplets
- (2) All zeros
- (3) Array shorter than 3