Prevent redundant elements