Implemented "Repeat and Duplicate" tool for all directions.