Add a method that trims duplicate pores and throats, and called this method in the generation of Flexicubic