Techniques

Diagonal movement allows you to clip through things.
Neither of the adjacent walls that you are clipping through can have fence collision.
This is typically done using knockback.