Implemented page cloning feature, closed #1167.