Implemented the replicated() function.
Authored by: bugman 2008-11-28
Parent: [r8051]
Child: [r8053]