getCurrentStateParams now makes a defensive copy of the state params