Sets the dirty state of this queue. Generally the queue will correctly track the dirty state; however, there are situations where a queue may need its dirty state reset (eg, it may be appropriate to reset the dirty state after a call toCopyFrom(), depending on the use case).