Optionallist: T[]Optionalnth: numberOptionaloffset: numberOptionalclone: booleanThe list to thin out.
The step: every nth item, counted from the offset, is removed.
Position of the first item to remove, counting from 0.
OptionalcloneWhen true, the list is deep-copied first so the input is never changed; when false the items are removed in place.
A list, a step and an offset for
lists.removeNthItem.