In the regular version of the game Nim, you have $n$ piles of stones, and you may remove one or more stones from a single pile in your turn. A modification I thought of involves the concept of piles that may contain not just stones, but also other piles. Let's call these "super-piles". Similarly, we may have "super-super-piles" – piles that may contain stones, piles, or super-piles. In general, a "$k$-pile" may contain stones, and/or $i$-piles for any $1\leq i<k$.
Now, in your turn, you may choose any $k$-pile, and remove all of its contents. Note that this $k$-pile may either be the outermost one, being contained in no bigger pile, or else it may be one of the contents of a $(k+1)$-pile. As in regular Nim, the person with no possible move loses.
Is this version of Nim known? Does it have a name? I've tried looking it up on the internet and in popular Game Theory textbooks, but I've had no luck. If this has not been worked upon previously, Can this game be solved using the Sprague–Grundy theorem? In simpler words, given the starting state of the game, can you predict whether the first player would win or the second one, assuming both players play optimally?