Commons: add replicate()
Translate: fix translate()