• What is the right way to copy a bean

    Hi , what is the right way to create a bean from another existing bean ? in other words, how to duplicate bean in sugar in PHP. i want to keep relationship too.