title: foreach loop only show one item if items are same
body: <p>Well let's say i have a foreach loop which look likes below</p>
  
  <pre><code>items = ['red', 'orange', 'yellow', 'green', 'red', 'yellow']
  foreach var item in items:
      print(item)
  </code></pre>
  
  <p>is there any way to show repeated items once?</p>