To take again your example:
Let's say you have 1 Tshirt with 4 colors and 4 sizes. You want to separate this product in 4 unique red, blue, white, black product.
For the red product:
1) Edit attributes first.
Attribute 1: color = red, blue, white, black
Attribute 2: size = S, M , L
In the...