LPS-33228 Resend: making repository model a stagedGroupModel (clone method is fixed now)