The Australian Constitution takes into account the American Civil War lessons and makes it illegal to succeed once part of the Commonwealth.

This is to stop any vacillating and the issues caused with states threats to leave.

It doesn't stop WA from constantly threatening to do so.