title: How to remove duplicate in List<T> JAVA 8
body: <p>Practically I know ways to reduce duplicate trought <code>distinct()</code>, or assign <code>List</code> to <code>Set</code>, but I have a little different issue. 
  How to solve smart way below problem in JAVA 8 using stream or may be <code>StreamEx</code> ?</p>
  
  <p>Let's say we have a objects in List</p>
  
  <p><code>A, A, A, B, B, A, A, A, C, C, C, A, A, B, B, A</code></p>
  
  <p>Now I need</p>
  
  <p><code>A, B, A, C, A, B, A</code></p>
  
  <p>So duplicated was removed but only if appear as next, but should stay if next to then is different object. 
  I tried a few solutions but ware ugly, and not readable.</p>