RNG is.... hard to explain, there are some good threads around here that can explain it better then I can! It'll probably take me pages to explain fully! Basicly, you do in game events at a certain time, to determind what IVs and shininess the next pokemon you hatch/catch is. cloning is fine, I use a perfectly legal way, most people clone pokemon, not illegal at all! Unless you use a hacking device, which I don't.