Hello! Sadly, I don't believe there is a way to prevent duplicates if it is a tree of "real" people, and I don't see another way to set a guardian except via the "Second parent" system.
I just played around with adding a parent's sibling as a second parent to some people on my trees, and I think I found a pattern: If the guardian is a sibling that is displayed right next to the parent (so is the younger/older sibling they are closest to in age), the system doesn't create a duplicate but connects the aunt/uncle directly with the child. If there are one or more siblings between the parent and the guardian, duplicates were created. So if you're doing a fictional family, you might change the birth order of the parent generation a bit for viewing pleasure, but otherwise I see no solution using this website.