title: How to remove all item in state using redux toolkit
body: <p>im made a Todo App using redux toolkit, and im trying to make a button which to clear all item in array;</p>
  <p>Im try to set array to empty by using splice like this but doesn't work</p>
  <pre><code>clearList: (state) =&gt; {
        return state.splice(0, state.length);
      }
  </code></pre>
  <p>Does anyone know how to do it?</p>