The /*!99997*/ featured from http://bazaar.launchpad.net/~codership/codership-mysql/wsrep-5.5/revision/3719 prevents REPLACE..SELECT queries from replicating. Without the special comment, REPLACE..SELECT queries replicate normally, and INSERT..SELECT queries replicate normally with and without the special comment.
1) Setup some nodes.
2) Create a simple test table.
3) REPLACE INTO table SELECT constant1, constant2; -- this replicates
4) INSERT INTO table SELECT constant3, constant4; -- this replicates too
5) REPLACE INTO table SELECT /!*99997*/ constant5, constant6; -- this does not replicate; it only appears on the node on which it was ran